home *** CD-ROM | disk | FTP | other *** search
/ NeXT Education Software Sampler 1992 Fall / NeXT Education Software Sampler 1992 Fall.iso / Programming / Source / WAIS / ir / irdirent.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-02-02  |  614 b   |  38 lines

  1. /* this is an include file for back compatibility to old c compilers */
  2.  
  3. #ifndef IRDIRENT_H
  4. #define IRDIRENT_H
  5.  
  6. #include "cdialect.h"
  7.  
  8. #ifdef K_AND_R
  9. #include <sys/dir.h>    
  10. #ifndef ultrix
  11. #define dirent direct
  12. #endif /* ndef ultrix */
  13. #endif /* def K_AND_R */
  14.  
  15. #ifdef NeXT
  16. #include <sys/dir.h>    
  17. #define dirent direct
  18. #endif /* def NeXT */
  19.  
  20. #ifdef M_XENIX
  21. #include <sys/types.h>
  22. #include <dirent.h>
  23. #endif
  24.  
  25. #ifndef K_AND_R
  26. #ifndef NeXT
  27. #ifndef THINK_C
  28. #ifndef M_XENIX
  29. #include <dirent.h>
  30. #endif /* ndef M_XENIX */
  31. #endif /* ndef THINK_C */
  32. #endif /* ndef NeXT */
  33. #endif /* ndef K_AND_R */
  34.  
  35. #endif /* IRDIRENT_H */
  36.  
  37.  
  38.